inherited FLancamentoEstoque: TFLancamentoEstoque
  Left = 276
  Top = 78
  Caption = 'Lan'#231'amento Estoque'
  Constraints.MaxHeight = 740
  Constraints.MinWidth = 640
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  inherited pcCadastro: TPageControl
    ActivePage = TsCadastro
    inherited TsPesquisa: TTabSheet
      inherited dbgPesquisaPadra: TDBGrid
        Columns = <
          item
            Expanded = False
            FieldName = 'MOVEST_CODIGO'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'MOVEST_DATALANCAMENTO'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'MOVEST_PEDIDO'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'MOVEST_DOCUMENTO'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'MOVEST_DATADOCUMENTO'
            Width = 125
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'MOVEST_TIPOMOVIMENTO_DESC'
            Visible = True
          end>
      end
      inherited pnPesquisaPadrao: TPanel
        object GroupBox2: TGroupBox
          Left = 691
          Top = 9
          Width = 147
          Height = 43
          Ctl3D = False
          ParentCtl3D = False
          TabOrder = 3
          object CheckBox1: TCheckBox
            Tag = 1
            Left = 1
            Top = 8
            Width = 145
            Height = 17
            Caption = 'N'#227'o Atualizados'
            Color = clYellow
            Ctl3D = False
            ParentColor = False
            ParentCtl3D = False
            TabOrder = 0
            OnClick = CheckBox1Click
          end
          object CheckBox2: TCheckBox
            Tag = 1
            Left = 1
            Top = 25
            Width = 145
            Height = 17
            Caption = 'Atualizados'
            Color = clLime
            Ctl3D = False
            ParentColor = False
            ParentCtl3D = False
            TabOrder = 1
            OnClick = CheckBox1Click
          end
        end
      end
    end
    inherited TsCadastro: TTabSheet
      OnShow = TsCadastroShow
      inherited panel1: TPanel
        inherited panel2: TPanel
          inherited SBAtualiza: TSpeedButton
            Top = 4
            Height = 26
          end
          inherited BtnFechar: TBitBtn
            Left = 497
          end
          inherited DBNavigator1: TDBNavigator
            Top = 4
            Height = 26
            Hints.Strings = ()
          end
        end
        inherited panel3: TPanel
          Top = 411
          Height = 73
          inherited LUsuario: TLabel
            Top = 33
          end
          inherited LDataMod: TLabel
            Top = 50
          end
          inherited LNRegistros: TLabel
            Top = 33
          end
          inherited BtnConsuta: TBitBtn
            Top = 4
            Height = 26
          end
          object btnAtualizaEstoque: TBitBtn
            Left = 8
            Top = 8
            Width = 137
            Height = 25
            Caption = 'Atualiza Estoque'
            TabOrder = 4
            OnClick = btnAtualizaEstoqueClick
          end
        end
        object PageControl1: TPageControl
          Left = 1
          Top = 36
          Width = 842
          Height = 375
          ActivePage = TSLancamentoEstoque
          Align = alClient
          TabOrder = 2
          object TSLancamentoEstoque: TTabSheet
            Caption = 'Cabe'#231'alho'
            object Label1: TLabel
              Left = 6
              Top = 4
              Width = 40
              Height = 16
              Caption = 'C'#243'digo'
            end
            object Label2: TLabel
              Left = 68
              Top = 4
              Width = 102
              Height = 16
              Caption = 'Data Lan'#231'amento'
            end
            object Label3: TLabel
              Left = 6
              Top = 55
              Width = 83
              Height = 16
              Caption = 'Estoque/Local'
            end
            object Label4: TLabel
              Left = 186
              Top = 5
              Width = 90
              Height = 16
              Caption = 'Tipo Movimento'
            end
            object Label5: TLabel
              Left = 6
              Top = 103
              Width = 40
              Height = 16
              Caption = 'Pedido'
            end
            object Label6: TLabel
              Left = 120
              Top = 103
              Width = 66
              Height = 16
              Caption = 'Documento'
              FocusControl = DBEDocumento
            end
            object Label7: TLabel
              Left = 222
              Top = 103
              Width = 97
              Height = 16
              Caption = 'Data Documento'
            end
            object Label8: TLabel
              Left = 6
              Top = 146
              Width = 92
              Height = 16
              Caption = 'Fornecedor (F8)'
            end
            object Label9: TLabel
              Left = 342
              Top = 103
              Width = 85
              Height = 16
              Caption = 'Ordem Servi'#231'o'
              FocusControl = DBEOS
            end
            object DBText2: TDBText
              Left = 289
              Top = 5
              Width = 115
              Height = 16
              DataField = 'TIPMOVEST_ENTRADASAIDA'
              DataSource = DSTipoMovimentoEstoque
            end
            object Label16: TLabel
              Left = 96
              Top = 192
              Width = 121
              Height = 16
              Caption = 'Centro de Custo (F8)'
            end
            object Label11: TLabel
              Left = 6
              Top = 239
              Width = 28
              Height = 16
              Caption = 'Obs:'
              FocusControl = DBEOS
            end
            object Label12: TLabel
              Left = 7
              Top = 195
              Width = 78
              Height = 16
              Caption = 'C'#243'd. C.Custo'
            end
            object DBEDocumento: TDBEdit
              Left = 120
              Top = 120
              Width = 93
              Height = 22
              Ctl3D = False
              DataField = 'MOVEST_DOCUMENTO'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 5
              OnEnter = DBLCBPedioEnter
            end
            object DBEOS: TDBEdit
              Left = 342
              Top = 120
              Width = 114
              Height = 22
              Ctl3D = False
              DataField = 'MOVEST_OS'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 7
              OnEnter = DBLCBPedioEnter
              OnKeyPress = DBEOSKeyPress
            end
            object DBDEDataLancamento: TDBDateEdit
              Left = 68
              Top = 24
              Width = 101
              Height = 23
              DataField = 'MOVEST_DATALANCAMENTO'
              DataSource = dsCadastro
              Ctl3D = False
              ButtonWidth = 23
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 1
              OnEnter = DBDEDataLancamentoEnter
            end
            object DBLCBLocal: TDBLookupComboBox
              Left = 6
              Top = 72
              Width = 451
              Height = 22
              Ctl3D = False
              DataField = 'MOVEST_LOCAL'
              DataSource = dsCadastro
              KeyField = 'LOC_CODIGO'
              ListField = 'LOC_DESCRICAO'
              ListSource = DSLocal
              ParentCtl3D = False
              TabOrder = 3
              OnKeyDown = DBLCBLocalKeyDown
            end
            object DBLCBPedio: TDBLookupComboBox
              Left = 6
              Top = 120
              Width = 103
              Height = 22
              Ctl3D = False
              DataField = 'MOVEST_PEDIDO'
              DataSource = dsCadastro
              KeyField = 'PED_CODIGO'
              ListField = 'PED_CODIGO'
              ListSource = DSPedido
              ParentCtl3D = False
              TabOrder = 4
              OnEnter = DBLCBPedioEnter
              OnKeyDown = DBLCBLocalKeyDown
            end
            object DBLCBTipoMovimento: TDBLookupComboBox
              Left = 186
              Top = 24
              Width = 271
              Height = 22
              Ctl3D = False
              DataField = 'MOVEST_TIPOMOVIMENTO'
              DataSource = dsCadastro
              KeyField = 'TIPMOVEST_CODIGO'
              ListField = 'TIPMOVEST_DESCRICAO'
              ListSource = DSTipoMovimentoEstoque
              ParentCtl3D = False
              TabOrder = 2
              OnClick = DBLCBTipoMovimentoExit
              OnExit = DBLCBTipoMovimentoExit
              OnKeyDown = DBLCBLocalKeyDown
            end
            object DBDEDataDocumento: TDBDateEdit
              Left = 222
              Top = 120
              Width = 113
              Height = 24
              DataField = 'MOVEST_DATADOCUMENTO'
              DataSource = dsCadastro
              Ctl3D = False
              ButtonWidth = 23
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 6
              OnEnter = DBLCBPedioEnter
            end
            object DBLCBFornecedor: TDBLookupComboBox
              Left = 6
              Top = 165
              Width = 451
              Height = 22
              Ctl3D = False
              DataField = 'MOVEST_FORNECEDOR'
              DataSource = dsCadastro
              KeyField = 'FORN_CODIGO'
              ListField = 'FORN_RAZAO'
              ListSource = DSFornecedor
              ParentCtl3D = False
              TabOrder = 8
              OnEnter = DBLCBPedioEnter
              OnKeyDown = DBLCBLocalKeyDown
            end
            object DBLCBCentroCusto: TDBLookupComboBox
              Left = 96
              Top = 212
              Width = 361
              Height = 22
              Ctl3D = False
              DataField = 'MOVEST_CENTROCUSTO'
              DataSource = dsCadastro
              KeyField = 'CODIGO'
              ListField = 'DESCRICAO'
              ListSource = DSCentro
              ParentCtl3D = False
              TabOrder = 10
              OnExit = DBLCBCentroCustoExit
              OnKeyDown = DBLCBCentroCustoKeyDown
            end
            object DBMObs: TDBMemo
              Left = 6
              Top = 259
              Width = 452
              Height = 55
              Ctl3D = False
              DataField = 'MOVEST_OBS'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 11
              OnExit = DBMObsExit
            end
            object edCodigo: TDBEdit
              Left = 6
              Top = 24
              Width = 58
              Height = 22
              Ctl3D = False
              DataField = 'MOVEST_CODIGO'
              DataSource = dsCadastro
              ParentCtl3D = False
              ReadOnly = True
              TabOrder = 0
            end
            object edCodCentroCusto: TEdit
              Left = 7
              Top = 212
              Width = 82
              Height = 22
              Ctl3D = False
              ParentCtl3D = False
              TabOrder = 9
              OnExit = edCodCentroCustoExit
            end
          end
          object TSItensLancamentoestoque: TTabSheet
            Caption = 'Itens'
            ImageIndex = 1
            object Label32: TLabel
              Left = 210
              Top = 92
              Width = 85
              Height = 16
              Caption = 'Descri'#231#227'o (F8)'
            end
            object Label35: TLabel
              Left = 586
              Top = 91
              Width = 66
              Height = 16
              Caption = 'Quantidade'
            end
            object Label27: TLabel
              Left = 698
              Top = 91
              Width = 61
              Height = 16
              Caption = 'Valor Unit.'
            end
            object Label28: TLabel
              Left = 7
              Top = 92
              Width = 67
              Height = 16
              Caption = 'C'#243'digo (F8)'
            end
            object Label10: TLabel
              Left = 7
              Top = 42
              Width = 83
              Height = 16
              Caption = 'Estoque/Local'
            end
            object Label14: TLabel
              Left = 87
              Top = 93
              Width = 88
              Height = 16
              Caption = 'Ref.Fornecedor'
              Font.Charset = ANSI_CHARSET
              Font.Color = clWindowText
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = []
              ParentFont = False
            end
            object Label13: TLabel
              Left = 7
              Top = 136
              Width = 68
              Height = 16
              Caption = 'Observa'#231#227'o'
            end
            object DBLCBProduto: TDBLookupComboBox
              Left = 210
              Top = 110
              Width = 369
              Height = 22
              Hint = '(F3) Visualizar Descri'#231#227'o'
              Ctl3D = False
              DataField = 'ITENSMOVEST_PRODUTO'
              DataSource = dsItensMovEst
              KeyField = 'PROD_CODIGO'
              ListField = 'PROD_DESCRICAOSAI'
              ListSource = DSProduto
              ParentCtl3D = False
              TabOrder = 3
              OnExit = DBLCBProdutoExit
              OnKeyDown = DBLCBProdutoKeyDown
            end
            object DBCodProduto: TDBEdit
              Left = 7
              Top = 110
              Width = 75
              Height = 22
              Ctl3D = False
              DataField = 'ITENSMOVEST_PRODUTO'
              DataSource = dsItensMovEst
              ParentCtl3D = False
              TabOrder = 1
              OnExit = DBCodProdutoExit
              OnKeyDown = DBCodProdutoKeyDown
            end
            object RxDBCQtd: TRxDBCalcEdit
              Left = 586
              Top = 109
              Width = 75
              Height = 23
              DataField = 'ITENSMOVEST_QUANTIDADE'
              DataSource = dsItensMovEst
              Ctl3D = False
              DecimalPlaces = 15
              DisplayFormat = '#.###'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 4
            end
            object RxDBCValorUnitario: TRxDBCalcEdit
              Left = 668
              Top = 109
              Width = 95
              Height = 23
              DataField = 'ITENSMOVEST_VALORI'
              DataSource = dsItensMovEst
              Ctl3D = False
              DecimalPlaces = 15
              DisplayFormat = '#,##0.0000'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 5
              OnChange = RxDBCValorUnitarioChange
            end
            object DBLLocalEstoqueItens: TDBLookupComboBox
              Left = 7
              Top = 62
              Width = 451
              Height = 22
              Ctl3D = False
              DataField = 'ITENSMOVEST_LOCAL'
              DataSource = dsItensMovEst
              KeyField = 'LOC_CODIGO'
              ListField = 'LOC_DESCRICAO'
              ListSource = DSLocal
              ParentCtl3D = False
              TabOrder = 0
              OnKeyDown = DBLCBLocalKeyDown
            end
            object Panel4: TPanel
              Left = 0
              Top = 0
              Width = 834
              Height = 33
              Align = alTop
              TabOrder = 6
              object BitInseriItem: TBitBtn
                Tag = 10
                Left = 3
                Top = 5
                Width = 80
                Height = 23
                Caption = '&Incluir'
                TabOrder = 0
                OnClick = BitInseriItemClick
                Glyph.Data = {
                  76010000424D7601000000000000760000002800000020000000100000000100
                  04000000000000010000130B0000130B00001000000000000000000000000000
                  800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                  FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF0033333333B333
                  333B33FF33337F3333F73BB3777BB7777BB3377FFFF77FFFF77333B000000000
                  0B3333777777777777333330FFFFFFFF07333337F33333337F333330FFFFFFFF
                  07333337F3FF3FFF7F333330F00F000F07333337F77377737F333330FFFFFFFF
                  07333FF7F3FFFF3F7FFFBBB0F0000F0F0BB37777F7777373777F3BB0FFFFFFFF
                  0BBB3777F3FF3FFF77773330F00F000003333337F773777773333330FFFF0FF0
                  33333337F3FF7F37F3333330F08F0F0B33333337F7737F77FF333330FFFF003B
                  B3333337FFFF77377FF333B000000333BB33337777777F3377FF3BB3333BB333
                  3BB33773333773333773B333333B3333333B7333333733333337}
                NumGlyphs = 2
              end
              object BitEditarItem: TBitBtn
                Tag = 10
                Left = 90
                Top = 5
                Width = 80
                Height = 23
                Caption = '&Editar'
                TabOrder = 1
                OnClick = BitEditarItemClick
                Glyph.Data = {
                  76010000424D7601000000000000760000002800000020000000100000000100
                  04000000000000010000120B0000120B00001000000000000000000000000000
                  800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                  FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333000000
                  000033333377777777773333330FFFFFFFF03FF3FF7FF33F3FF700300000FF0F
                  00F077F777773F737737E00BFBFB0FFFFFF07773333F7F3333F7E0BFBF000FFF
                  F0F077F3337773F3F737E0FBFBFBF0F00FF077F3333FF7F77F37E0BFBF00000B
                  0FF077F3337777737337E0FBFBFBFBF0FFF077F33FFFFFF73337E0BF0000000F
                  FFF077FF777777733FF7000BFB00B0FF00F07773FF77373377373330000B0FFF
                  FFF03337777373333FF7333330B0FFFF00003333373733FF777733330B0FF00F
                  0FF03333737F37737F373330B00FFFFF0F033337F77F33337F733309030FFFFF
                  00333377737FFFFF773333303300000003333337337777777333}
                NumGlyphs = 2
              end
              object BitExcluirItem: TBitBtn
                Tag = 10
                Left = 177
                Top = 5
                Width = 80
                Height = 23
                Caption = '&Excluir'
                TabOrder = 2
                OnClick = BitExcluirItemClick
                Glyph.Data = {
                  B2050000424DB205000000000000360400002800000012000000130000000100
                  0800000000007C010000C30E0000C30E00000001000000000000000000007B00
                  0000BD000000FF0000007B7B000000FF0000FFFF000000315A0008427300084A
                  730000007B007B007B00084A7B0008527B0021527B00007B7B007B7B7B00004A
                  840008528400105284002963840008528C00085A8C00185A8C0018638C002963
                  8C0008529400185A9400296B9400316B94002973940031739400085A9C001863
                  9C0018739C0029739C0031739C0031849C00005AA5002173A5003973A500297B
                  A500186BAD00106BB500317BB5002984B5004A8CB500086BBD000073BD001073
                  BD001873BD00217BBD004284BD00318CBD004A8CBD005294BD005A9CBD00BDBD
                  BD001073C600007BC600217BC600428CC6004A8CC6005A9CC6000084CE000884
                  CE00398CCE005A9CCE00639CCE001884D6002184D600088CD600108CD6004294
                  D600399CD6004A9CD600529CD6005A9CD6005AA5D60063ADD6001884DE002184
                  DE00188CDE001094DE001894DE003194DE00299CDE004AA5DE005AA5DE004AB5
                  DE00189CE700219CE700429CE7005AA5E7005AADE70063ADE7006BB5E70021A5
                  EF0029A5EF0031A5EF0063B5EF006BBDEF0029ADF70031ADF7006BBDF7000000
                  FF00FF00FF0031B5FF0039B5FF0042B5FF0039BDFF0042BDFF0042C6FF004AC6
                  FF006BC6FF004ACEFF0052CEFF0052D6FF005ADEFF0063E7FF0000FFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00393939393939
                  3939393939393939393939690000396939393939393939393939393939396939
                  0000396969393910101010101010101010693939000039696969000000000000
                  0000000069693939000039396969007879797978797979696939393900003939
                  3969697903030303030379691039393900003939396969697978797979786969
                  1039393900003939393969696903030369696900103939390000393939390069
                  6969797869697900103939390000393939390079036969696903790010393939
                  0000393939390079796969696978790010393939000039393939007903696969
                  6900000010393939000039393939007869697900696979001039393900003939
                  3939006969697900696969693939393900003939396969697978790079003969
                  6939393900003969696969000000000000393939696939390000396969693939
                  3939393939393939393969390000393939393939393939393939393939393969
                  00003939393939393939393939393939393939390000}
              end
              object DBNitens: TDBNavigator
                Tag = 11
                Left = 728
                Top = 5
                Width = 80
                Height = 23
                DataSource = dsItensMovEst
                VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast]
                TabOrder = 3
              end
              object stItens: TStaticText
                Left = 603
                Top = 9
                Width = 117
                Height = 20
                Alignment = taRightJustify
                Caption = ' Reg: 10000/10000 '
                TabOrder = 4
              end
            end
            object Panel6: TPanel
              Left = 0
              Top = 185
              Width = 834
              Height = 33
              Align = alBottom
              TabOrder = 7
              object BitSalvarItem: TBitBtn
                Tag = 10
                Left = 656
                Top = 5
                Width = 80
                Height = 23
                Caption = '&Salvar'
                TabOrder = 0
                OnClick = BitSalvarItemClick
                Glyph.Data = {
                  76010000424D7601000000000000760000002800000020000000100000000100
                  04000000000000010000130B0000130B00001000000000000000000000000000
                  800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                  FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333330070
                  7700333333337777777733333333008088003333333377F73377333333330088
                  88003333333377FFFF7733333333000000003FFFFFFF77777777000000000000
                  000077777777777777770FFFFFFF0FFFFFF07F3333337F3333370FFFFFFF0FFF
                  FFF07F3FF3FF7FFFFFF70F00F0080CCC9CC07F773773777777770FFFFFFFF039
                  99337F3FFFF3F7F777F30F0000F0F09999937F7777373777777F0FFFFFFFF999
                  99997F3FF3FFF77777770F00F000003999337F773777773777F30FFFF0FF0339
                  99337F3FF7F3733777F30F08F0F0337999337F7737F73F7777330FFFF0039999
                  93337FFFF7737777733300000033333333337777773333333333}
                NumGlyphs = 2
              end
              object BitCancelarItem: TBitBtn
                Tag = 10
                Left = 742
                Top = 5
                Width = 80
                Height = 23
                Caption = '&Cancelar'
                TabOrder = 1
                OnClick = BitCancelarItemClick
                Glyph.Data = {
                  76010000424D7601000000000000760000002800000020000000100000000100
                  04000000000000010000130B0000130B00001000000000000000000000000000
                  800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                  FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
                  3333333333FFFFF3333333333999993333333333F77777FFF333333999999999
                  33333337777FF377FF3333993370739993333377FF373F377FF3399993000339
                  993337777F777F3377F3393999707333993337F77737333337FF993399933333
                  399377F3777FF333377F993339903333399377F33737FF33377F993333707333
                  399377F333377FF3377F993333101933399377F333777FFF377F993333000993
                  399377FF3377737FF7733993330009993933373FF3777377F7F3399933000399
                  99333773FF777F777733339993707339933333773FF7FFF77333333999999999
                  3333333777333777333333333999993333333333377777333333}
                NumGlyphs = 2
              end
            end
            object DBGrid1: TDBGrid
              Tag = 1
              Left = 0
              Top = 218
              Width = 834
              Height = 126
              Align = alBottom
              DataSource = dsItensMovEst
              Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
              TabOrder = 8
              TitleFont.Charset = ANSI_CHARSET
              TitleFont.Color = clWindowText
              TitleFont.Height = -13
              TitleFont.Name = 'Arial'
              TitleFont.Style = []
              Columns = <
                item
                  Expanded = False
                  FieldName = 'ITENSMOVEST_PRODUTO'
                  Title.Alignment = taCenter
                  Width = 80
                  Visible = True
                end
                item
                  Expanded = False
                  FieldName = 'PROD_DESC'
                  Title.Caption = 'Descri'#231#227'o'
                  Width = 450
                  Visible = True
                end
                item
                  Alignment = taCenter
                  Expanded = False
                  FieldName = 'ITENSMOVEST_QUANTIDADE'
                  Title.Alignment = taCenter
                  Width = 100
                  Visible = True
                end
                item
                  Expanded = False
                  FieldName = 'ITENSMOVEST_VALORI'
                  Title.Alignment = taRightJustify
                  Visible = True
                end>
            end
            object EdRefProdutoMercadoria: TEdit
              Tag = 5
              Left = 87
              Top = 110
              Width = 118
              Height = 22
              Ctl3D = False
              ParentCtl3D = False
              TabOrder = 2
              OnExit = EdRefProdutoMercadoriaExit
              OnKeyDown = EdRefProdutoMercadoriaKeyDown
            end
            object DBEdit1: TDBEdit
              Left = 7
              Top = 154
              Width = 758
              Height = 22
              Ctl3D = False
              DataField = 'ITENSMOVEST_OBS'
              DataSource = dsItensMovEst
              ParentCtl3D = False
              TabOrder = 9
            end
          end
        end
      end
    end
  end
  inherited PopupMenu1: TPopupMenu
    Left = 672
    Top = 120
    object Atualizar1: TMenuItem [0]
      Caption = 'Atualizar'
      OnClick = btnAtualizaEstoqueClick
    end
  end
  inherited dsCadastro: TDataSource
    Left = 328
    Top = 288
  end
  inherited QCadastro: TQuery
    Active = True
    SQL.Strings = (
      'Select * from Movimentoestoque')
    Left = 616
    Top = 288
  end
  inherited dspCadastro: TDataSetProvider
    Left = 56
    Top = 360
  end
  inherited cdsCadastro: TClientDataSet
    Active = True
    BeforePost = cdsCadastroBeforePost
    Left = 528
    Top = 264
    object cdsCadastroMOVEST_CODIGO: TIntegerField
      Alignment = taCenter
      DisplayLabel = 'C'#243'digo'
      FieldName = 'MOVEST_CODIGO'
    end
    object cdsCadastroMOVEST_DATALANCAMENTO: TDateTimeField
      DisplayLabel = 'Data'
      FieldName = 'MOVEST_DATALANCAMENTO'
    end
    object cdsCadastroMOVEST_LOCAL: TIntegerField
      DisplayLabel = 'Local'
      FieldName = 'MOVEST_LOCAL'
    end
    object cdsCadastroMOVEST_TIPOMOVIMENTO: TIntegerField
      DisplayLabel = 'Tipo Movimento'
      FieldName = 'MOVEST_TIPOMOVIMENTO'
    end
    object cdsCadastroMOVEST_PEDIDO: TIntegerField
      DisplayLabel = 'Pedido'
      FieldName = 'MOVEST_PEDIDO'
    end
    object cdsCadastroMOVEST_DOCUMENTO: TStringField
      DisplayLabel = 'Documento'
      FieldName = 'MOVEST_DOCUMENTO'
      Size = 10
    end
    object cdsCadastroMOVEST_DATADOCUMENTO: TDateTimeField
      DisplayLabel = 'Data Docto'
      FieldName = 'MOVEST_DATADOCUMENTO'
    end
    object cdsCadastroMOVEST_FORNECEDOR: TIntegerField
      DisplayLabel = 'Fornecedor'
      FieldName = 'MOVEST_FORNECEDOR'
    end
    object cdsCadastroMOVEST_OS: TIntegerField
      Alignment = taCenter
      FieldName = 'MOVEST_OS'
    end
    object cdsCadastroMOVEST_NF: TIntegerField
      FieldName = 'MOVEST_NF'
    end
    object cdsCadastroCODIGOEMPRESA: TIntegerField
      FieldName = 'CODIGOEMPRESA'
    end
    object cdsCadastroMOVEST_CENTROCUSTO: TIntegerField
      FieldName = 'MOVEST_CENTROCUSTO'
    end
    object cdsCadastroMOVEST_TRANSFERENCIAESTOQUE: TIntegerField
      FieldName = 'MOVEST_TRANSFERENCIAESTOQUE'
    end
    object cdsCadastroMOVEST_ORIGEM: TStringField
      FieldName = 'MOVEST_ORIGEM'
      Size = 50
    end
    object cdsCadastroMOVEST_CODIGO_ORIGEM: TIntegerField
      FieldName = 'MOVEST_CODIGO_ORIGEM'
    end
    object cdsCadastroMOVEST_OBS: TStringField
      FieldName = 'MOVEST_OBS'
      Size = 255
    end
    object cdsCadastroUSUARIO_CADASTRO: TStringField
      FieldName = 'USUARIO_CADASTRO'
    end
    object cdsCadastroUSUARIO_AUTERACAO: TStringField
      FieldName = 'USUARIO_AUTERACAO'
    end
    object cdsCadastroUSUARIO_EXCLUSAO: TStringField
      FieldName = 'USUARIO_EXCLUSAO'
    end
    object cdsCadastroDATA_CADASTRO: TDateTimeField
      FieldName = 'DATA_CADASTRO'
    end
    object cdsCadastroDATA_EXCLUSAO: TDateTimeField
      FieldName = 'DATA_EXCLUSAO'
    end
    object cdsCadastroDATA_AUTERACAO: TDateTimeField
      FieldName = 'DATA_AUTERACAO'
    end
    object cdsCadastroEXCLUIDO: TStringField
      FieldName = 'EXCLUIDO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroUSUARIO: TStringField
      FieldName = 'USUARIO'
      Size = 10
    end
    object cdsCadastroDATAMODIFICACAO: TDateTimeField
      FieldName = 'DATAMODIFICACAO'
    end
    object cdsCadastroUSUARIO_RECUPERACAO: TStringField
      FieldName = 'USUARIO_RECUPERACAO'
    end
    object cdsCadastroDATA_RECUPERACAO: TDateTimeField
      FieldName = 'DATA_RECUPERACAO'
    end
    object cdsCadastroMOVEST_DATA_PROC: TDateTimeField
      FieldName = 'MOVEST_DATA_PROC'
    end
    object cdsCadastroMOVEST_LOTE_ATUALIZADO: TStringField
      FieldName = 'MOVEST_LOTE_ATUALIZADO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroMOVEST_TIPOMOVIMENTO_DESC: TStringField
      DisplayLabel = 'Tipo Movto'
      FieldName = 'MOVEST_TIPOMOVIMENTO_DESC'
      Size = 40
    end
  end
  inherited dsCamposPesquisa: TDataSource
    Left = 776
    Top = 152
  end
  inherited OpenDialog1: TOpenDialog
    Left = 400
    Top = 32
  end
  object DSLocal: TDataSource
    DataSet = DMGestao.QLocal
    Left = 720
    Top = 136
  end
  object DSPedido: TDataSource
    DataSet = DMGestao.QPedido
    Left = 640
    Top = 40
  end
  object DSTipoMovimentoEstoque: TDataSource
    DataSet = DMGestao.QTipoMovimentoEstoque
    Left = 536
    Top = 40
  end
  object DSFornecedor: TDataSource
    DataSet = DMGestao.QFornecedor
    Left = 584
    Top = 120
  end
  object QAux: TQuery
    DatabaseName = 'base'
    RequestLive = True
    Left = 238
    Top = 344
  end
  object QAtualiza: TQuery
    DatabaseName = 'base'
    RequestLive = True
    Left = 366
    Top = 376
  end
  object DSCentro: TDataSource
    DataSet = DMFinanceiro.QCentro
    Left = 496
    Top = 376
  end
  object DSProduto: TDataSource
    DataSet = QProduto
    Left = 392
    Top = 112
  end
  object dsItensMovEst: TDataSource
    AutoEdit = False
    DataSet = cdsItensMovEst
    OnStateChange = dsItensMovEstStateChange
    OnDataChange = dsItensMovEstDataChange
    Left = 176
    Top = 288
  end
  object QItensMovEst: TQuery
    DatabaseName = 'base'
    DataSource = dsCadastro
    SQL.Strings = (
      'SELECT *'
      'FROM'
      '  ITENSMOVIMENTOESTOQUE'
      'WHERE'
      
        '  ITENSMOVIMENTOESTOQUE.ITENSMOVEST_MOVIMENTOESTOQUE = :MOVEST_C' +
        'ODIGO')
    Left = 760
    Top = 328
    ParamData = <
      item
        DataType = ftInteger
        Name = 'ITENSMOVEST_MOVIMENTOESTOQUE'
        ParamType = ptUnknown
        Value = 2
      end>
  end
  object dspItensMovEst: TDataSetProvider
    DataSet = QItensMovEst
    Left = 456
    Top = 320
  end
  object cdsItensMovEst: TClientDataSet
    Aggregates = <>
    IndexFieldNames = 'ITENSMOVEST_MOVIMENTOESTOQUE'
    MasterFields = 'MOVEST_CODIGO'
    MasterSource = dsCadastro
    PacketRecords = 0
    Params = <>
    ProviderName = 'dspItensMovEst'
    BeforePost = cdsItensMovEstBeforePost
    Left = 656
    Top = 376
    object cdsItensMovEstITENSMOVEST_CODIGO: TIntegerField
      Alignment = taCenter
      FieldName = 'ITENSMOVEST_CODIGO'
    end
    object cdsItensMovEstITENSMOVEST_MOVIMENTOESTOQUE: TIntegerField
      FieldName = 'ITENSMOVEST_MOVIMENTOESTOQUE'
    end
    object cdsItensMovEstITENSMOVEST_PRODUTO: TIntegerField
      Alignment = taCenter
      DisplayLabel = 'C'#243'digo'
      FieldName = 'ITENSMOVEST_PRODUTO'
    end
    object cdsItensMovEstITENSMOVEST_QUANTIDADE: TFloatField
      DisplayLabel = 'Quant.'
      FieldName = 'ITENSMOVEST_QUANTIDADE'
    end
    object cdsItensMovEstITENSMOVEST_VALORI: TFloatField
      DisplayLabel = 'Valor Unit.'
      FieldName = 'ITENSMOVEST_VALORI'
      DisplayFormat = '#,##0.00'
    end
    object cdsItensMovEstITENSMOVEST_VALORC: TFloatField
      FieldName = 'ITENSMOVEST_VALORC'
    end
    object cdsItensMovEstITENSMOVEST_QTDESTANTGERAL: TFloatField
      FieldName = 'ITENSMOVEST_QTDESTANTGERAL'
    end
    object cdsItensMovEstITENSMOVEST_QTDESTANTLOCAL: TFloatField
      FieldName = 'ITENSMOVEST_QTDESTANTLOCAL'
    end
    object cdsItensMovEstITENSMOVEST_CUSTOMEDIOUNITANT: TFloatField
      FieldName = 'ITENSMOVEST_CUSTOMEDIOUNITANT'
    end
    object cdsItensMovEstITENSMOVEST_LOCAL: TIntegerField
      FieldName = 'ITENSMOVEST_LOCAL'
    end
    object cdsItensMovEstUSUARIO_CADASTRO: TStringField
      FieldName = 'USUARIO_CADASTRO'
    end
    object cdsItensMovEstUSUARIO_AUTERACAO: TStringField
      FieldName = 'USUARIO_AUTERACAO'
    end
    object cdsItensMovEstUSUARIO_EXCLUSAO: TStringField
      FieldName = 'USUARIO_EXCLUSAO'
    end
    object cdsItensMovEstDATA_CADASTRO: TDateTimeField
      FieldName = 'DATA_CADASTRO'
    end
    object cdsItensMovEstDATA_EXCLUSAO: TDateTimeField
      FieldName = 'DATA_EXCLUSAO'
    end
    object cdsItensMovEstDATA_AUTERACAO: TDateTimeField
      FieldName = 'DATA_AUTERACAO'
    end
    object cdsItensMovEstEXCLUIDO: TStringField
      FieldName = 'EXCLUIDO'
      FixedChar = True
      Size = 1
    end
    object cdsItensMovEstPROD_DESC: TStringField
      DisplayLabel = 'Descri'#231#227'o (Entrada)'
      FieldKind = fkLookup
      FieldName = 'PROD_DESC'
      LookupDataSet = DMGestao.QProdutoEnt
      LookupKeyFields = 'PROD_CODIGO'
      LookupResultField = 'PROD_DESCRICAOENT'
      KeyFields = 'ITENSMOVEST_PRODUTO'
      Size = 40
      Lookup = True
    end
    object cdsItensMovEstLOCAL_DESC: TStringField
      DisplayLabel = 'Local'
      FieldKind = fkLookup
      FieldName = 'LOCAL_DESC'
      LookupDataSet = DMGestao.QLocal
      LookupKeyFields = 'LOC_CODIGO'
      LookupResultField = 'LOC_DESCRICAO'
      KeyFields = 'ITENSMOVEST_LOCAL'
      Size = 30
      Lookup = True
    end
    object cdsItensMovEstITENS_MOVEST_OBS: TStringField
      FieldName = 'ITENS_MOVEST_OBS'
      Size = 200
    end
    object cdsItensMovEstUSUARIO: TStringField
      FieldName = 'USUARIO'
      Size = 10
    end
    object cdsItensMovEstDATAMODIFICACAO: TDateTimeField
      FieldName = 'DATAMODIFICACAO'
    end
    object cdsItensMovEstUSUARIO_RECUPERACAO: TStringField
      FieldName = 'USUARIO_RECUPERACAO'
    end
    object cdsItensMovEstDATA_RECUPERACAO: TDateTimeField
      FieldName = 'DATA_RECUPERACAO'
    end
    object cdsItensMovEstSITUACAO_DA_REPLICACAO: TStringField
      FieldName = 'SITUACAO_DA_REPLICACAO'
      FixedChar = True
      Size = 1
    end
    object cdsItensMovEstCODIGOEMPRESA: TIntegerField
      FieldName = 'CODIGOEMPRESA'
    end
    object cdsItensMovEstDATA_REPLICACAO: TDateTimeField
      FieldName = 'DATA_REPLICACAO'
    end
    object cdsItensMovEstITENSMOVEST_OBS: TStringField
      FieldName = 'ITENSMOVEST_OBS'
      Size = 200
    end
  end
  object QProduto: TQuery
    Active = True
    DatabaseName = 'base'
    RequestLive = True
    SQL.Strings = (
      'SELECT * FROM PRODUTO'
      'WHERE'
      '((produto.excluido <> '#39'S'#39')OR(produto.excluido is null))')
    Left = 422
    Top = 176
  end
end
